//
// Created by wsgalaxy on 2/23/18.
//

#ifndef GNDAPP_H
#define GNDAPP_H

#include <gtk/gtk.h>

G_DECLARE_FINAL_TYPE(GndApp, gnd_app, GND, APP, GtkApplication)
#define GND_TYPE_APP gnd_app_get_type()

typedef struct _GndMainwin GndMainwin;
typedef struct _GndConnect GndConnect;

GndApp * gnd_app_new(const char * app_id, GApplicationFlags flags);
char * gnd_app_get_setting_str(GndApp * self, char * name);
gboolean gnd_app_set_setting_str(GndApp * self, char * name, char * data);
GndMainwin *gnd_app_get_mainwin(GndApp * self);
GndConnect * gnd_app_get_connect(GndApp * self);

#endif //GNDAPP_H
